<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%><%@taglib
	uri="http://java.sun.com/jsf/core" prefix="f"%><%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- <html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
		<link rel="stylesheet" media="screen" type="text/css" title="Design" href="css/welcome.css" />
		<title>SOLUTECHshop.com</title>
	</head>
<body>


 

	
	
	<f:view><div id="page"><div id="en_tete" style="height: 251px"></div><table width="60%" border="0">
		
		<tr><td>Login:</td><td><h:form>
				<h:inputText></h:inputText>
			</h:form></td></tr>
		<tr><td>Mot de passe:</td><td><h:inputText></h:inputText></td></tr>
	</table><h:form >
		<h:commandLink >
			<h:outputText value="Vous n'avez pas de compte?" ></h:outputText>
		</h:commandLink>
	</h:form></div></f:view></body>
</html> -->
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>

<f:view>
  <html>
    <head>
      <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"></meta>
      <title>
        <h:outputText value="Solutech-shop Login page"/>
      </title>
      <link href="css/solutech.css" rel="stylesheet" media="screen"></link>
      <link rel="shortcut icon" href="img/logo.ico">
    </head>
    <body><h:form>
        <table width="100%" border="0">
          <tr>
            <td>
              <h1 align="center">
                <h:graphicImage url="/img/logo.jpg"
                                alt="Solutech Logo" style="height: 124px; width: 181px"/>
                <h:outputText value="Solutech-Shop Application"/>
              </h1>
            </td>
          </tr>          
          <tr>
          <td> 
        <f:subview id="loginbar">
          <jsp:include page="loginbar.jsp"/>
        </f:subview>
          </td>
         </tr>
          <tr>
            <td>
              <p><h:outputText value="Connexion" styleClass="PageTitle"/></p>
              
            
            
            
            
              <h:messages globalOnly="true" infoClass="LoginError"/>              
              <h:panelGrid width="70%" columns="3" border="0"
                           styleClass="form-bkg">
                <h:outputLabel value="Login:" for="userid"/>                
                <h:inputText required="true" id="userid"
                             binding="#{Login_Backing.userid}"/>
                <h:message for="userid" errorClass="ValidateError"/>
                <h:outputLabel value="Mot de passe:" for="password"/>                
                <h:inputSecret required="true" id="password"
                               binding="#{Login_Backing.password}"/>
                <h:message for="password" errorClass="ValidateError"/>
                <f:verbatim>&nbsp;</f:verbatim>
                <h:panelGroup>
                  <h:commandButton value="Login"
                                   action="#{Login_Backing.login}"/>
               
                </h:panelGroup>
                <f:verbatim>&nbsp;</f:verbatim>
              </h:panelGrid>
            </td>
          </tr>
        </table>
      </h:form></body>
  </html>
</f:view>